import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
import router from './router.js'
import VueResource from 'vue-resource'
// 2.2 安装 vue-resource
Vue.use(VueResource)

// css样式
import { Header } from 'mint-ui';
Vue.component(Header.name, Header);
import { Swipe, SwipeItem } from 'mint-ui';
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'
// vue组件
import app from './App.vue'

var vm = new Vue({
    el:'#app',
    data:{

    },
    router,
    render :c => c(app)
})     